#include <stdio.h>
#include<stdlib.h>
#define my_offsetof(type,m)   ((size_t)&((type*)0)->m)
int main()
{
	struct A
	{
		int c;
		char b;
	};
	int ret=my_offsetof(struct A, b);
	printf("%d", ret);
	return 0;
}